#include "AlgoAStar.h"

int main()
{
	algobase::TaskConfig taskConfig;

	taskConfig.mMinLongitude = 0;
	taskConfig.mMaxLongitude = 10;
	taskConfig.mMinLatitude = 0;
	taskConfig.mMaxLatitude = 10;

	taskConfig.mStartPos = { 2, 2 };
	taskConfig.mEndPos = { 8, 7 };

	taskConfig.mTypePolygons[algobase::AreaType::AT_Restricted].push_back({
		{0, 0},
		{1, 2},
		{2, 1},
	});

	algobase::Paths pathsResult;

	algo::AlgoAStar aStar;
	int exec_code = aStar.exec(taskConfig, pathsResult);

	return 0;
}